<?php

namespace app\common\enum\order;

use app\common\enum\EnumBasics;

/**
 * 订单核销状态枚举类
 * Class PayStatus
 * @package app\common\enum\recharge\order
 */
class WriteStatus extends EnumBasics
{
    // 未核销
    const NOWRITE = 10;

    // 已核销
    const ISWRITE = 20;

    /**
     * 获取枚举数据
     * @return array
     */
    public static function data()
    {
        return [
            self::NOWRITE => [
                'name' => '未核销',
                'value' => self::NOWRITE,
            ],
            self::ISWRITE => [
                'name' => '已核销',
                'value' => self::ISWRITE,
            ],
        ];
    }

}